package xyz.lovegu.server.sys.vos;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;
import xyz.lovegu.server.sys.dos.Classes;

import java.util.Date;

/**
 * @author 老顾
 * @title: ClassesVo
 * @projectName campus-prevention-system
 * @email: 1437594522@qq.com
 * @date 2022/5/9 22:52
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ClassesVo extends Classes {

    private Integer page=1;
    private Integer limit=10;

    /**
     * 接受多个ID
     */
    private Integer[] ids;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
